getFragment

Retrieve the current Fragment instance for a reference previously placed with putFragment.

Return

Returns the current Fragment instance that is associated with the given reference.

Parameters

bundle

The bundle from which to retrieve the fragment reference.

key

The name of the entry in the bundle.